<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			window.onload = function(){
				var oBox = document.getElementById("box");
				
				var c1s = oBox.getElementsByClassName('c1');
				console.log(c1s);
				var oDivs = oBox.getElementsByTagName('div');
				console.log(oDivs);
			}
		</script>
	</head>
	<body>
		<div id="box">
			<div class="c1">1111</div>
			<div class="c1">222</div>
			<ul>
				<li><div>3333</div></li>
			</ul>
		</div>
		
		<div class="c1">4444</div>
	</body>
</html>
